package com.jic.market.request.manager.lottery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 抽奖活动奖品关联表
 * @author : 
 * @email : 
 * @since : 2020-03-03 03:05:46
 * @version : v1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("抽奖活动奖项设置-请求参数")
public class LotteryAwardsRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "主键ID")
    private Long id;

    @ApiModelProperty(notes = "抽奖活动ID")
    private Long themeRefId;

    @ApiModelProperty(notes = "奖项等级")
    private Integer awardsLevel;

    @ApiModelProperty(notes = "中奖名额")
    private Long winningNum;

    @ApiModelProperty(notes = "中奖率")
    private BigDecimal winningRate;

    @ApiModelProperty(notes = "奖项名称")
    private String awardsName;

    @ApiModelProperty(notes = "奖项对应图片url")
    private String awardsPicUrl;

    @ApiModelProperty(notes = "奖品类别")
    private Integer awardsCategory;

    @ApiModelProperty(notes = "该类奖品对应的奖品id")
    private String awardsRefId;

    @ApiModelProperty(notes = "该类奖品对应的奖品名称")
    private String awardsRefName;

    @ApiModelProperty(notes = "该类奖品对应的图片url")
    private String awardsRefPicUrl;

    @ApiModelProperty(notes = "该类奖品对应的单次奖励数量")
    private Long awardsRefNum;

    @ApiModelProperty(notes = "是否可用:默认0否;1是")
    private Integer isAvailable;

    @ApiModelProperty(notes = "运营方ID")
    private Long deptid;

    @ApiModelProperty(notes = "商家ID")
    private Long merchantId;

    @ApiModelProperty(notes = "店铺Id")
    private Long storeId;

    @ApiModelProperty(notes = "创建用户ID")
    private Long creator;

    @ApiModelProperty(notes = "创建用户")
    private String creatorName;

    @ApiModelProperty(notes = "更新用户ID")
    private Long updator;

    @ApiModelProperty(notes = "更新用户")
    private String updatorName;

}